package com.zimmur.model.order;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class Cart {
	private String cartId;
	@JsonIgnore
	private Long userId;
	private String goodsId;
	private String title;
	private String coverImage;
	private String coverImageUrl;
	private String color;
	private String colorCode;
	private String size;
	private Integer quantity;
	private Integer isPrepay;
	private Long desigerId;
	private Short offPercent = 0;//商品折扣率
	@JsonIgnore
	private Integer createDate;
	//尺码ID	
	private String sizeCode;
	
	private BigDecimal price;
	private Integer inventoryNum;
	//商品状态 up=在售/down=下架/wait=待售中
	private String status;
	
	public String getCartId() {
		return cartId;
	}
	public void setCartId(String cartId) {
		this.cartId = cartId;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getCoverImage() {
		return coverImage;
	}
	public void setCoverImage(String coverImage) {
		this.coverImage = coverImage;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getColorCode() {
		return colorCode;
	}
	public void setColorCode(String colorCode) {
		this.colorCode = colorCode;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public Long getDesigerId() {
		return desigerId;
	}
	public void setDesigerId(Long desigerId) {
		this.desigerId = desigerId;
	}
	public Integer getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Integer createDate) {
		this.createDate = createDate;
	}
	public String getSizeCode() {
		return sizeCode;
	}
	public void setSizeCode(String sizeCode) {
		this.sizeCode = sizeCode;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public Integer getInventoryNum() {
		return inventoryNum;
	}
	public void setInventoryNum(Integer inventoryNum) {
		this.inventoryNum = inventoryNum;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getCoverImageUrl() {
		return coverImageUrl;
	}
	public void setCoverImageUrl(String coverImageUrl) {
		this.coverImageUrl = coverImageUrl;
	}
	public Integer getIsPrepay() {
		return isPrepay;
	}
	public void setIsPrepay(Integer isPrepay) {
		this.isPrepay = isPrepay;
	}
	public Short getOffPercent() {
		return offPercent;
	}
	public void setOffPercent(Short offPercent) {
		this.offPercent = offPercent;
	}
	
	
}
